Skip to content

ISecondaryIndex interface

Defined in

Namespace: ReactiveList.Reactive.Core Assembly: ReactiveList.Reactive.dll Full name: ReactiveList.Reactive.Core.ISecondaryIndex<T> Modifiers: public abstract

Summary

Defines methods for maintaining a secondary index that tracks changes to a collection of items.

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

Remarks

Implementations of this interface are notified when items are added, removed, or updated in the primary collection, allowing the secondary index to stay synchronized. This interface is typically used to support efficient lookups or queries based on alternative keys or properties.

Methods

NameSummary
OnAddedHandles logic to be performed when an item is added.
OnRemovedCalled when an item is removed from the collection.
OnUpdatedHandles an update event by providing the previous and current values of the item.
ClearRemoves all items from the collection.
MatchesKeyDetermines whether the specified item's key matches the provided key object.